html,body,div,p{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
#app{
	position: fixed;
	top: 0;left: 0;
	width: 100%;height: calc(100vh);
}
.main{
	display: flex;
	flex-direction: row;
}
.tab-btn{
	display: none;
}
/*文件列表*/
.main .files{
	flex:3;
	background-color: #fff;
}
.main .files .title{
	/*background-color: #F1F0EF;*/
	padding: 10px;
	margin-top: -15px;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
}
.main .files .title i{
	font-style: normal;
	font-size: 16px;
}
.main .files .title p{
	border-radius: 5px;
}
.main .files .title p .tap{
	background-color: #eee;
	color: #666;
	cursor: pointer;
	padding: 5px 15px;
}
.main .files .title p .active{
	background-color:#07C160;
	color: #fff;
	cursor: pointer;
	padding: 5px 15px;
}
.main .files .list{
	height: calc(100vh - 115px);
	overflow: hidden;
	overflow-y: auto;
	padding: 10px;
	padding-bottom: 30px;
}
.main .files .list p{
	display: inline-block;
	vertical-align: top;
	padding: 5px;
	width: auto;max-width: 50%;
	height: auto;max-height: 300px;
	position: relative;
}
.main .files .list p .size{
	position: absolute;
	top: 5px;right: 5px;
	background-color: rgba(0,0,0,0.5);
	color: #fff;
	padding: 3px;
	font-size: 12px;
}
.main .files .list p a{
	/*	font-weight: 900;*/
	font-size: 18px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border: 1px solid #eee;
	padding: 10px;
}
.main .files .list p a img,video{
	max-width: 100%;max-height: 280px;
}
.main .files .list p a i{
	font-style: normal;
}
/*消息列表*/
.main .msg{
	flex: 2;
	background-color: #F1F0EF;
}
.main .msg .list{
	height: calc(100vh - 90px);
	padding: 30px;
	overflow: hidden;
	overflow-y: auto;
}
.main .msg .list p{
	display: flex;
	flex-direction: column;
}
.main .msg .list p span{
	width: 100%;
}
.main .msg .list p span i{
	font-style: normal;
}
.main .msg .list p .title{
	padding: 5px 0;
	padding-top: 10px;
	font-weight: 900;
	color: #666;
}
.main .msg .list p .title.bc{
	display: none;
}
.main .msg .list p .title.err{
	display: none;
}
.main .msg .list p .title.self{
	text-align: right;
}
.main .msg .list p .msg{
	display: flex;
}
.main .msg .list p .msg i,a{
	background-color: #fff;
	border-radius: 5px;
	padding: 5px 10px;
	font-size: 18px;
	word-break: break-all;
}
.main .msg .list p .msg.bc{
	align-items: center;
	justify-content: center;
}
.main .msg .list p .msg.bc i{
	width: auto;
	margin: 10px auto;
	text-align: center;
	background-color: #ccc;
	color: #666;
	font-size: 14px;
}
.main .msg .list p .msg.err{
	align-items: center;
	justify-content: center;
}
.main .msg .list p .msg.err i{
	width: auto;
	margin: 10px auto;
	text-align: center;
	background-color: rgb(255,100,100);
	color: #fff;
	font-size: 14px;
}
.main .msg .list p span .re-btn{
	display: inline-block;
	background-color:#07C160;
	color: #fff;
	padding: 10px 20px;
	border-radius: 5px;
	box-shadow: 1px 1px 1px #aaa;
	cursor: pointer;
}
.main .msg .list p .msg.self{
	align-items: flex-end;
	justify-content: flex-end;
}
.main .msg .list p .msg.self i,.self-link{
	background-color: #07C160;
}
.main .msg .send{
	display: flex;
	flex-direction: row;
	height: 90px;
	background-color: #fff;
	padding: 15px;
}
.main .msg .send input{
	width: 80%;
	font-size: 24px;
}
.main .msg .send button{
	width: 20%;
	margin: 0 10px;
}
@media screen and (max-width: 1000px) {
.main{
	display: block;
}
.tab-btn{
	position: fixed;
	top: 0;right: 1px;
	z-index: 3;
	display: block;
}
.tab-btn button{
	cursor: pointer;
	background-color: pink;
	color: #333;
	padding: 5px 15px;
	font-size: 18px;
	border: 0;
	outline: none;
	border-radius: 0 0 10px 10px;
	box-shadow: 1px 1px 1px #999;
	font-weight: 900;
}
/*文件列表*/
.main .files{
	width: 100%;
}
.main .files .list{
	padding-bottom: 60px;
}
/*消息列表*/
.main .msg{
	width: 100%;
}
.main .msg .list{
	/*height: calc(100vh - 129px);*/
}
}